import http from "../utils/http";

export const loginAPI = (data) => {
  return http({
    url: "/authorizations",
    method: "POST",
    data,
  });
};

export const getProfileAPI = () => {
  return http({
    url: "/user/profile",
  });
};
